projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeda5b2
)
imcontext: Ignore NoSymbol key events
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 25 May 2021 17:17:41 +0000
(13:17 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 25 May 2021 17:20:12 +0000
(13:20 -0400)
These can happen with some XKB options.
Fixes: #3973
gtk/gtkimcontextsimple.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimcontextsimple.c
b/gtk/gtkimcontextsimple.c
index 0338b3f187766d39ec6d6fa6879df6653a878a6e..b695d96a0ddfec543f2f45c9506155dd3fac97d7 100644
(file)
--- a/
gtk/gtkimcontextsimple.c
+++ b/
gtk/gtkimcontextsimple.c
@@
-90,6
+90,7
@@
G_LOCK_DEFINE_STATIC (global_tables);
static GSList *global_tables;
static const guint16 gtk_compose_ignore[] = {
+ 0, /* Yes, XKB will send us key press events with NoSymbol :( */
GDK_KEY_Shift_L,
GDK_KEY_Shift_R,
GDK_KEY_Control_L,